package com.aric.springbootmusic.utils;

public class ResultUtil {
    public static Result getResponseResult(Integer statusCode, String msg, Object data){
        Result result = new Result();
        Meta meta = new Meta();
        meta.setCode(statusCode);
        meta.setMsg(msg);
        result.setMeta(meta);
        result.setData(data);
        return result;
    }
}
